package com.yimi.policyservice.dto.product;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PolicyProductDto {
    private List<PolicyItemDto> items = new ArrayList<>();
    private String id;

    private String createName;
    private String addrId;

    private String addrName;

    private String optrCompId;

    private String optrCompName;

    private String optrCompCode;

    private String accountId;

    private String account ;

    private String productCode;

    private String productName;

    private int productType;

    private String hukouTypeCode;

    private String calAccuCode;

    private String compCalAccuCode;

    private String empCalAccuCode;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;

    private Integer used = 0;

    private String comment;

    private String createId;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    private String updateId;

    private String updateName;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getAddrId() {
        return addrId;
    }

    public void setAddrId(String addrId) {
        this.addrId = addrId;
    }

    public String getAddrName() {
        return addrName;
    }

    public void setAddrName(String addrName) {
        this.addrName = addrName;
    }

    public String getOptrCompId() {
        return optrCompId;
    }

    public void setOptrCompId(String optrCompId) {
        this.optrCompId = optrCompId;
    }

    public String getOptrCompName() {
        return optrCompName;
    }

    public void setOptrCompName(String optrCompName) {
        this.optrCompName = optrCompName;
    }

    public String getOptrCompCode() {
        return optrCompCode;
    }

    public void setOptrCompCode(String optrCompCode) {
        this.optrCompCode = optrCompCode;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public int getProductType() {
        return productType;
    }

    public void setProductType(int productType) {
        this.productType = productType;
    }

    public String getHukouTypeCode() {
        return hukouTypeCode;
    }

    public void setHukouTypeCode(String hukouTypeCode) {
        this.hukouTypeCode = hukouTypeCode;
    }

    public String getCalAccuCode() {
        return calAccuCode;
    }

    public void setCalAccuCode(String calAccuCode) {
        this.calAccuCode = calAccuCode;
    }

    public String getCompCalAccuCode() {
        return compCalAccuCode;
    }

    public void setCompCalAccuCode(String compCalAccuCode) {
        this.compCalAccuCode = compCalAccuCode;
    }

    public String getEmpCalAccuCode() {
        return empCalAccuCode;
    }

    public void setEmpCalAccuCode(String empCalAccuCode) {
        this.empCalAccuCode = empCalAccuCode;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getUsed() {
        return used;
    }

    public void setUsed(Integer used) {
        this.used = used;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public List<PolicyItemDto> getItems() {
        return items;
    }

    public void setItems(List<PolicyItemDto> items) {
        this.items = items;
    }
}
